Ext.define('passport.main.MainPanel', {
    extend: 'Ext.panel.Panel',
    		id: 'MainPanel',
        floatable: false,
        split: true,
        bodyBorder: false,
		    border:0,
		    layout: 'fit',
		    collapsible: false,
        createMainTabPanel: function() {
					this.tpMain = Ext.create('passport.tabs.panel.Main',{   
	        		region: 'center'
	        	});
			    Ext.dd.Registry.register(this.tpMain);
					return this.tpMain;
				},
		initComponent: function() {
			Ext.apply(this, {
          items: this.createMainTabPanel()
      	});
			this.callParent();
		}
})